package com.huluobo.base.bean;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by LC on 2024/9/12.
 */
public class VideoBeanResult {

    private int code;
    private String message;
    private List<VideoBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<VideoBean> getData() {
        return data;
    }

    public void setData(List<VideoBean> data) {
        this.data = data;
    }

    @Entity(tableName = "video_info")
    public static class VideoBean implements MultiItemEntity, Serializable {
        @PrimaryKey
        private int id;
        private String authname;
        private String publishtime;
        private String caption;
        private int view_count;
        private int like_count;
        private String headpath;
        private String videopath;
        private String videomainimg;
        private int type;
        private int guanzhu;
        private int dianzan;
        private String address;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAuthname() {
            return authname;
        }

        public void setAuthname(String authname) {
            this.authname = authname;
        }

        public String getPublishtime() {
            return publishtime;
        }

        public void setPublishtime(String publishtime) {
            this.publishtime = publishtime;
        }

        public String getCaption() {
            return caption;
        }

        public void setCaption(String caption) {
            this.caption = caption;
        }

        public int getView_count() {
            return view_count;
        }

        public void setView_count(int view_count) {
            this.view_count = view_count;
        }

        public int getLike_count() {
            return like_count;
        }

        public void setLike_count(int like_count) {
            this.like_count = like_count;
        }

        public String getHeadpath() {
            return headpath;
        }

        public void setHeadpath(String headpath) {
            this.headpath = headpath;
        }

        public String getVideopath() {
            return videopath;
        }

        public void setVideopath(String videopath) {
            this.videopath = videopath;
        }

        public String getVideomainimg() {
            return videomainimg;
        }

        public void setVideomainimg(String videomainimg) {
            this.videomainimg = videomainimg;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getGuanzhu() {
            return guanzhu;
        }

        public void setGuanzhu(int guanzhu) {
            this.guanzhu = guanzhu;
        }

        public int getDianzan() {
            return dianzan;
        }

        public void setDianzan(int dianzan) {
            this.dianzan = dianzan;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        @Override
        public int getItemType() {
            return type;
        }
    }
}
